﻿using HiCore.Extensions.EventBus.Kafka;
using HiCore.Extensions.UnitOfWork.EntityFramework.Domain;

namespace HiCore.WebApi.Example.DomainEvents
{
    [EventPublisher("__aaa", instanceName: "aaa")]
    public class AccountCreatedEvent : IKafkaMessage, IDomainEvent
    {
        public long UserId { get; set; }
        public string LoginName { get; set; }
    }
}
